package com.bank.pojo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * BankCards entity. @author MyEclipse Persistence Tools
 */

public class BankCards implements java.io.Serializable {

	// Fields

	private String cardsId;
	private BankUserinfo bankUserinfo;
	private String cardsPassword;
	private Float cardsBalance;
	private Integer cardsState;
	private Timestamp cardsTime;
	private Set bankSaves = new HashSet(0);
	private Set bankTradesForTradeInId = new HashSet(0);
	private Set bankTradesForTradeOutId = new HashSet(0);

	// Constructors

	/** default constructor */
	public BankCards() {
	}

	/** minimal constructor */
	public BankCards(BankUserinfo bankUserinfo, String cardsPassword,
			Float cardsBalance, Integer cardsState, Timestamp cardsTime) {
		this.bankUserinfo = bankUserinfo;
		this.cardsPassword = cardsPassword;
		this.cardsBalance = cardsBalance;
		this.cardsState = cardsState;
		this.cardsTime = cardsTime;
	}

	/** full constructor */
	public BankCards(BankUserinfo bankUserinfo, String cardsPassword,
			Float cardsBalance, Integer cardsState, Timestamp cardsTime,
			Set bankSaves, Set bankTradesForTradeInId,
			Set bankTradesForTradeOutId) {
		this.bankUserinfo = bankUserinfo;
		this.cardsPassword = cardsPassword;
		this.cardsBalance = cardsBalance;
		this.cardsState = cardsState;
		this.cardsTime = cardsTime;
		this.bankSaves = bankSaves;
		this.bankTradesForTradeInId = bankTradesForTradeInId;
		this.bankTradesForTradeOutId = bankTradesForTradeOutId;
	}

	// Property accessors

	public String getCardsId() {
		return this.cardsId;
	}

	public void setCardsId(String cardsId) {
		this.cardsId = cardsId;
	}

	public BankUserinfo getBankUserinfo() {
		return this.bankUserinfo;
	}

	public void setBankUserinfo(BankUserinfo bankUserinfo) {
		this.bankUserinfo = bankUserinfo;
	}

	public String getCardsPassword() {
		return this.cardsPassword;
	}

	public void setCardsPassword(String cardsPassword) {
		this.cardsPassword = cardsPassword;
	}

	public Float getCardsBalance() {
		return this.cardsBalance;
	}

	public void setCardsBalance(Float cardsBalance) {
		this.cardsBalance = cardsBalance;
	}

	public Integer getCardsState() {
		return this.cardsState;
	}

	public void setCardsState(Integer cardsState) {
		this.cardsState = cardsState;
	}

	public Timestamp getCardsTime() {
		return this.cardsTime;
	}

	public void setCardsTime(Timestamp cardsTime) {
		this.cardsTime = cardsTime;
	}

	public Set getBankSaves() {
		return this.bankSaves;
	}

	public void setBankSaves(Set bankSaves) {
		this.bankSaves = bankSaves;
	}

	public Set getBankTradesForTradeInId() {
		return this.bankTradesForTradeInId;
	}

	public void setBankTradesForTradeInId(Set bankTradesForTradeInId) {
		this.bankTradesForTradeInId = bankTradesForTradeInId;
	}

	public Set getBankTradesForTradeOutId() {
		return this.bankTradesForTradeOutId;
	}

	public void setBankTradesForTradeOutId(Set bankTradesForTradeOutId) {
		this.bankTradesForTradeOutId = bankTradesForTradeOutId;
	}

}